package cn.tedu.csmall.passportbackup.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class AdminAddNewDTO implements Serializable {
    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名", example = "root",required = true)
    private String username;

    /**
     * 密码（密文）
     */
    @ApiModelProperty(value = "密码", example = "123456",required = true)
    private String password;

    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称", example = "Stephen",required = true)
    private String nickname;

    /**
     * 头像URL
     */
    @ApiModelProperty(value = "头像", example = "",required = false)
    private String avatar;

    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码", example = "12345678900",required = true)
    private String phone;

    /**
     * 电子邮箱
     */
    @ApiModelProperty(value = "邮箱", example = "stephen_0721@163.com",required = true)
    private String email;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述", example = "这是个XXXX",required = false)
    private String description;

    /**
     * 是否启用，1=启用，0=未启用
     */
    @ApiModelProperty(value = "是否启用用户", example = "1或者0，1代表启用，0代表不启用",required = true)
    private Integer enable;

    @ApiModelProperty(value = "ss",example ="sss,fff,f,fu",required = true )
    private Long[] roleIds;
}
